(require 'color-theme)
(color-theme-initialize)
;;(color-theme-oswald)

;;******************** set mode line color
(set-face-foreground 'modeline "#d2c8c8")
(set-face-background 'modeline "#050505")
(set-face-background 'modeline-inactive "#99aaff")
(set-face-background 'fringe "#809088")

;;change the color-theme for dired mode. Not good, influence all the buffers.
;;(add-hook 'dired-mode-hook 'color-theme-emacs-nw)

;;********************set for location(Maybe used for color-theme)***********
;;set for daily and night auto-change
(setq calendar-location-name "Hangzhou, Zhejiang, China") 
(setq calendar-latitude 30.233334)
(setq calendar-longitude 120.166664)

;;theme-changer, used for time-based theme 
;;color-theme-billw
(require 'theme-changer)
(change-theme 'color-theme-jsc-light2 'color-theme-oswald)